with use of data type and strings